<?php
namespace oo;

class foo {
	function do_foo() {
		echo "Doing foo.";
	}
}

$bar = new foo ();
$bar->do_foo ();

?>